package com.hernie.user.pojo;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用户表(User)实体类
 *
 * @author Hernie
 * @since 2021-09-01 12:25:42
 * @version 1.0
 */
@ApiModel(value = "User",description = "用户表")
public class User implements Serializable {
    private static final long serialVersionUID = -12581400561301882L;
    /**
    * 主键
    */
	@ApiModelProperty(name = "id",notes = "主键",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 用户名
    */
	@ApiModelProperty(name = "username",notes = "用户名",dataType = "String",required = true)
    private String username;
    /**
    * 密码
    */
	@ApiModelProperty(name = "password",notes = "密码",dataType = "String",required = true)
    private String password;
    /**
    * 手机号
    */
	@ApiModelProperty(name = "phone",notes = "手机号",dataType = "String",required = true)
    private String phone;
    /**
    * 邮箱
    */
	@ApiModelProperty(name = "email",notes = "邮箱",dataType = "String",required = true)
    private String email;
    /**
    * 年龄
    */
	@ApiModelProperty(name = "age",notes = "年龄",dataType = "Integer",required = true)
    private Integer age;
    /**
    * 身份证
    */
	@ApiModelProperty(name = "identity",notes = "身份证",dataType = "String",required = true)
    private String identity;
    /**
    * 最后登录时间
    */
	@ApiModelProperty(name = "lastlogintime",notes = "最后登录时间",dataType = "Date",required = true)
    private Date lastlogintime;
    /**
    * 登陆状态（0为禁用，1为可用；默认为1）
    */
	@ApiModelProperty(name = "action",notes = "登陆状态（0为禁用，1为可用；默认为1）",dataType = "Integer",required = true)
    private Integer action;
    /**
    * 性别
    */
	@ApiModelProperty(name = "sex",notes = "性别",dataType = "String",required = true)
    private String sex;
    /**
    * 头像路径
    */
	@ApiModelProperty(name = "photopath",notes = "头像路径",dataType = "String",required = true)
    private String photopath;
    /**
    * 部门编号
    */
	@ApiModelProperty(name = "deparmentNumber",notes = "部门编号",dataType = "Integer",required = true)
    private Integer deparmentNumber;

	private String sendCode;
	private Long sendTime;
	private String uuid;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getSendCode() {
        return sendCode;
    }

    public void setSendCode(String sendCode) {
        this.sendCode = sendCode;
    }

    public Long getSendTime() {
        return sendTime;
    }

    public void setSendTime(Long sendTime) {
        this.sendTime = sendTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
        
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
        
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
        
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
        
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
        
    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }
        
    public Date getLastlogintime() {
        return lastlogintime;
    }

    public void setLastlogintime(Date lastlogintime) {
        this.lastlogintime = lastlogintime;
    }
        
    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }
        
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
        
    public String getPhotopath() {
        return photopath;
    }

    public void setPhotopath(String photopath) {
        this.photopath = photopath;
    }
        
    public Integer getDeparmentNumber() {
        return deparmentNumber;
    }

    public void setDeparmentNumber(Integer deparmentNumber) {
        this.deparmentNumber = deparmentNumber;
    }

}